package com.sun.androidexerciseproject.function.singleInstance;

import android.content.Context;

/**
 * Description:
 * File: EnumSingleInstance.java
 * Author: Administrator
 * Create: 2018/11/29 0029 上午 10:07
 */
public enum EnumSingleInstance {
    INSTANCE;
    private Context mContext;

    public Context getContext() {
        return mContext;
    }

    public void init(Context context) {
        if (null == mContext) {
            mContext = context;
        }
    }

}
